Class com.symantec.itools.vcafe.openapi.dtreflect.DTConstructor
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.symantec.itools.vcafe.openapi.dtreflect.DTConstructor

Object
   |
   +----DTMember
           |
           +----com.symantec.itools.vcafe.openapi.dtreflect.DTConstructor

public class DTConstructor
extends DTMember
implements Serializable

Method Index

 o equals(Object)
Compares this DTConstructor against the specified object.
 o equals(DTConstructor)
Compares this DTConstructor against the specified DTConstructor.
 o getJavadocRange()
gets the text range from the beginning of the first line of the constructor's Javadoc comment to the closing asterisk-slash characters
 o getSourceRange()
gets the text range from the beginning of the constructor declaration to the closing brace
 o toShortString()
Returns a short string describing this DTConstructor.
 o toString()
Compares the formal signature of this DTConstructor with another.
 o validate()
Ensure that this member is valid in its project

Methods

 o equals
public boolean equals(Object obj)
Compares this DTConstructor against the specified object. Returns true if the objects are the same. Two constructors are the same if they were declared by the same class and have the same name and formal parameter types.

Overrides:
equals in class DTMember
 o equals
public boolean equals(DTConstructor other)
Compares this DTConstructor against the specified DTConstructor. Returns true if the constructors are the same. Two Constructors are the same if they were declared by the same class and have the same name and formal parameter types.

 o getJavadocRange
public com.symantec.itools.vcafe.openapi.Range getJavadocRange()
gets the text range from the beginning of the first line of the constructor's Javadoc comment to the closing asterisk-slash characters

Overrides:
getJavadocRange in class DTMember
 o getSourceRange
public com.symantec.itools.vcafe.openapi.Range getSourceRange()
gets the text range from the beginning of the constructor declaration to the closing brace

Overrides:
getSourceRange in class DTMember
 o toShortString
public java.lang.String toShortString()
Returns a short string describing this DTConstructor. The string consists of the constructor name followed by the parameter types in parenthesis, e.g., "substring(int,int)".

 o toString
public java.lang.String toString()
Compares the formal signature of this DTConstructor with another. Returns true if the unqualified method name and number and types of arguments are the same. public boolean equalSignatures(DTConstructor other) { if (other != null && getName().equals(other.getName()) && getParameters().equals(other.getParameters())) return true; return false; } /** Returns a string describing this DTConstructor. The string is formatted as the constructor access modifiers, if any, followed by a space, followed by the class declaring the constructor, followed by a period, followed by the constructor name, followed by a parenthesized, comma-separated list of the constructor's formal parameter types. If the constructor throws checked exceptions, the parameter list is followed by a space, followed by the word throws followed by a comma-separated list of the thrown exception types. For example:
	public boolean java.lang.Object.equals(java.lang.Object)
 

The access modifiers are placed in canonical order as specified by "The Java Language Specification". This is public, protected or private first, and then other modifiers in the following order: abstract, static, final, synchronized native.

Overrides:
toString in class Object
 o validate
public boolean validate()
Ensure that this member is valid in its project

Overrides:
validate in class DTMember

All Packages  Class Hierarchy  This Package  Previous  Next  Index